﻿//===============================================================================
// Microsoft Innovation Centre - Western Europe
// Copyright (c) 2008 Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Microsoft.WVB.Silverlight.Infrastructure;

namespace Microsoft.WVB.Framework.Entities
{
    public class Channel: BaseEntity
    {
        public string Name
        {
            get { return _Name; }
            set { _Name = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Name)); }
        }
        private string _Name;

        public Uri Icon
        {
            get { return _Icon; }
            set { _Icon = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Icon)); }
        }
        private Uri _Icon;

        public Collection<Schedule> Schedules
        {
            get { return _Schedules; }
            set { _Schedules = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Schedules)); }
        }
        private Collection<Schedule> _Schedules;

        public string LongName
        {
            get { return _LongName; }
            set { _LongName = value; OnPropertyChanged(this.GetPropertySymbol(o => o.LongName)); }
        }
        private string _LongName;


        public string Description
        {
            get { return _Description; }
            set { _Description = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Description)); }
        }
        private string _Description;


        public string ProgramType
        {
            get { return _ProgramType; }
            set { _ProgramType = value; OnPropertyChanged(this.GetPropertySymbol(o => o.ProgramType)); }
        }
        private string _ProgramType;


        public Uri Url
        {
            get { return _Url; }
            set { _Url = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Url)); }
        }
        private Uri _Url;


        public string Language
        {
            get { return _Language; }
            set { _Language = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Language)); }
        }
        private string _Language;


        public string TimeZone
        {
            get { return _TimeZone; }
            set { _TimeZone = value; OnPropertyChanged(this.GetPropertySymbol(o => o.TimeZone)); }
        }
        private string _TimeZone;


    }
}
